//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.restaurant.application.accumulategoodscoupon;

import com.nebutown.commonunits.dataface.definitions.DynamicValue;
import com.nebutown.description.UnitDescription;
import com.nebutown.generation.BeanSpec;
import com.nebutown.generation.basictype.StringData;
import com.nebutown.generation.basictype.UID;
import com.nebutown.generation.basictype.UIDLists;
import com.restaurant.application.accumulategoodscoupon.support.GoodsCouponData;
import com.restaurant.application.util.ImageData;

public class AccumulateGoodsCouponDesc extends UnitDescription {
    public AccumulateGoodsCouponDesc() {
    }

    public static void main(String[] args) {
        UnitDescription desc = UnitDescription.basicUnit(AccumulateGoodsCoupon.class, "GoodsCouponData");
        desc.nextBean("GoodsCouponData").add("createTime", Long.class).add("modifyTime", Long.class).add("goodsId", String.class).add("goodsName", String.class).add("images", String.class).add("goodsCategory", String.class).add("typeId", String.class).add("typeIdUid", String.class).add("accessLevel", BeanSpec.listOf(String.class.getName())).add("levelUid", UIDLists.class).add("accumulatePoints", Long.class).add("goodsDescribe", String.class).add("numberLimit", Long.class).add("state", String.class).add("forSellTime", Long.class).add("removeTime", Long.class).add("soldNumber", Long.class).add("totalNUmber", Long.class).add("immediately", Boolean.class).add("useShopName", String.class).add("useShopId", String.class).add("useShopUid", UID.class).add("couponName", String.class).add("couponManagementId", DynamicValue.class).add("couponManagement", UID.class).add("startUseTime", Long.class).add("endTime", Long.class);
        desc.nextBean("GoodsCouponVo").add("goodsName", String.class).add("images", BeanSpec.listOf(ImageData.class.getName())).add("goodsCategory", String.class).add("accessLevel", String.class).add("accumulatePoints", Long.class).add("goodsDescribe", String.class).add("numberLimit", Long.class).add("forSellTime", Long.class).add("removeTime", Long.class).add("totalNumber", Long.class).add("useShop", String.class).add("immediately", Boolean.class).add("endTime", Long.class);
        desc.addUiFunction("save", GoodsCouponData.class.getName()).addUiFunction("selectCoupon", GoodsCouponData.class.getName()).addUiFunction("cancel", (String)null).addUiFunction("searchCoupon", StringData.class.getName());
        desc.run("./");
    }
}
